package com.xbongbong.pro.detailtab.pojo;

import com.xbongbong.paas.field.FieldAttrEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author lcx
 * @version v1.0
 * @date 2019/3/13 12:20
 * @since v1.0
 */
@Getter
@Setter
public class ProductDetailPojo {
    private String attr;
    private String attrName;
    private Integer fieldType;

    /**
     *
     */
    private DataDetailTabPojo entity;

    private Object value4Show;

    private List<FieldAttrEntity> explains;

    public ProductDetailPojo(FieldAttrEntity fieldAttrEntity) {
        this.attr = fieldAttrEntity.getSaasAttr();
        this.attrName = fieldAttrEntity.getAttrName();
        this.fieldType = fieldAttrEntity.getFieldType();
    }
}
